from twilio.rest import Client  # 导包


def sendSMSMsg(content, tel):
    """
        向某个手机号发送短信内容
    :param content: 短信内容
    :param tel: 手机号
    """
    account_sid = 'AC42ff22bd8b121341fdd97084f291cca9'
    auth_token = 'c37db2933b223cf746ddbc980619cd99'
    client = Client(account_sid, auth_token)
    msg = client.messages.create(
        from_='+18634171699',
        body=content,
        to=tel
    )
    print(msg)
    print('Send :', content, 'to tel:', tel, 'syccessfully!!!')
